package com.yida.system.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description 系统白名单修改参数
 * @Author wws
 * @Date 2023-03-22
 */
@ApiModel("系统白名单修改参数")
public class SysWhiteListEditRequest {

    @ApiModelProperty( "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty("状态（0：关闭；1：启用）")
    @NotBlank(message = "状态不能为空")
    private String status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SysWhiteListEditRequest{");
        sb.append("id=").append(id);
        sb.append(", status='").append(status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
